package com.xueyi.system.filetype.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.xueyi.common.core.web.tenant.base.TTreeEntity;
import com.xueyi.system.filetype.domain.dto.BaseFileTypeDto;
import com.baomidou.mybatisplus.annotation.TableField;
import com.xueyi.common.core.annotation.Excel;

/**
 * 文件分类 持久化对象
 *
 * @author yanhe
 */
@TableName(value = "base_file_type", excludeProperty = {"sort", "ancestors", "status"})
public class BaseFileTypePo extends TTreeEntity<BaseFileTypeDto> {

    private static final long serialVersionUID = 1L;

    /**
     * 分类编码
     */
    @Excel(name = "分类编码")
    @TableField("code")
    private String code;


    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

}
